package com.getan.boot.module.system.service.persistent;

import com.getan.boot.jdbc.service.GenericService;
import com.getan.boot.module.system.entity.UserDeptEntity;
import com.getan.boot.module.system.repository.UserDeptRepository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * 用户部门关系管理
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@Slf4j
@RequiredArgsConstructor
@Service
@Transactional(propagation = Propagation.SUPPORTS, rollbackFor = Exception.class)
public class UserDeptService extends GenericService<UserDeptRepository, UserDeptEntity> {
}
